package com.iot.common.security.feign.fallback;

import org.springframework.stereotype.Component;
import com.iot.common.core.exception.AuthorizationException;

import lombok.Setter;

@Component
public class SecurityOauthServiceFallbackImpl implements com.iot.common.security.feign.SecurityOauthService{

	@Setter
	private Throwable cause;
	
	@Override
	public void check_token(String token) {
		throw new AuthorizationException("验证授权异常！");
	}

}
